<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<!DOCTYPE html>
<html>
<head>
<title>租友信息</title>
<link href="${pageContext.request.contextPath}/houseDeal/css/bootstrap.css" rel="stylesheet" type="text/css"  />
<script src="${pageContext.request.contextPath}/houseDeal/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/houseDeal/js/scripts.js"></script>
<link href="${pageContext.request.contextPath}/houseDeal/css/styles.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/houseDeal/css/style.css" rel="stylesheet" type="text/css" media="all" />	
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
</head>
<body>
	<center>
	<div style="margin-top: 50px;">
		<table>
		<thead style="background-color:#eee;">
			<td width = "150">用户名</td>
			<td width = "150">性别</td>
			<td width = "150">联系方式</td>
			<td width = "200">时间</td>
		</thead>
		<tbody>
		<c:forEach items="${renterList }" var = "r">
		<tr>
			<td>${r.renterAccount }</td>
			<td>${r.renterSex }</td>
			<td>${r.renterTele }</td>
			<td><fmt:formatDate value="${r.renterTime}"   pattern="yyyy-MM-dd hh:mm:ss" type="date" dateStyle="long" />  </td>
		</tr>
		</c:forEach>
		</tbody>
		</table>
	</div>
	</center>
</body>
</html>
